package com.zd.dao;

import java.util.List;

import com.zd.entity.User;

public interface UserDao {
	
	public User login(String userId, String userPass);

	public int addUser(User user);
	public String seletUserId(User user);

	public List<User> selectUserLimit(int m,int n);

	public int getInforAllNum();

	public int updateUser(User user);
	public int updateUser1(User user);//liheng
	public int deleteUser(int userId);

	public List<User> sousuoSelectUserLimit(int i, int aPageNum, String sousuo);

	public int getSousuoInforAllNum(String sousuo);

	
}
